package com.shoulder.feign.feign;

import com.google.common.collect.Lists;
import com.shoulder.core.api.ApiResult;

import java.util.List;

public class UserClient {

    public ApiResult<List<Integer>> getUsers() {
        return ApiResult.ok(Lists.newArrayList(1, 2, 3));
    }

    ApiResult<Integer> getUser(String id) {
        return ApiResult.ok(Integer.valueOf(id));
    }

    void send(String id){
        System.out.println(id);
    }


}
